$(".menu-li").click(function(){
    $(".menu-li").css("border-left","7px solid white")
    $(".menu-li").css("background-color","white")
    $(this).css("border-left","7px solid #FF5C00")
    $(this).css("background-color","#FFF3E6")
})
$("#li-loginli").click(function(){
    $("#login").css("display","block")
    $("#personal").css("display","none")
})
$("#li-personalli").click(function(){
    $("#login").css("display","none")
    $("#personal").css("display","block")
})
function PEdit(){
    location.href='PersonalEdit.html?account='+vm.account
}
window.onload = function(){
	var fn= sessionStorage.getItem("function")
	if(fn === 'Logindiv'){
		$("#li-loginli").click()
	}
	if(fn === 'Personaldiv'){
		$("#li-personalli").click()
	}
	$("#allorder").click()
}